/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cubelabs.nexus.domain;

/**
 *
 * @author chaitanya
 */
public class BaseResponse {
    
    private short responseStatus;//0 for success, else failure
    private String errorMessage;

    public BaseResponse() {
    }

    public BaseResponse(short responseStatus, String errorMessage) {
        this.responseStatus = responseStatus;
        this.errorMessage = errorMessage;
    }

    public BaseResponse(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public short getResponseStatus() {
        return responseStatus;
    }

    public void setResponseStatus(short responseStatus) {
        this.responseStatus = responseStatus;
    }


    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
    
}
